Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: return a throttled response if org is being synced for the first time during auth #5374

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

matiasb
Copy link
Contributor

@matiasb matiasb commented Dec 18, 2024

Related to https://github.com/grafana/oncall-private/issues/2826

When Terraform triggers multiple requests and org needs to be synced in OnCall, the first request will wait for sync to complete but others will get an immediate response, before a 403, with these changes a 429 indicating to retry (Terraform client will handle the response and perform a retry).

@matiasb matiasb added pr:no public docs Added to a PR that does not require public documentation updates release:ignore PR will not be added to release notes labels Dec 18, 2024
@matiasb matiasb marked this pull request as ready for review December 18, 2024 20:06
@matiasb matiasb requested a review from a team as a code owner December 18, 2024 20:06
@joeyorlando joeyorlando added this pull request to the merge queue Dec 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 18, 2024
@matiasb matiasb added this pull request to the merge queue Dec 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 18, 2024
@joeyorlando joeyorlando added this pull request to the merge queue Dec 19, 2024
Merged via the queue into dev with commit cc63ec3 Dec 19, 2024
30 checks passed
@joeyorlando joeyorlando deleted the matiasb/org-being-sync-then-throttle branch December 19, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates release:ignore PR will not be added to release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants